StructuralConnectionHandler.Create
Description:
Creates a new instance of a Structural Connection Handler, which defines the connection between given elements. Elements should be of the following structural categories: framings, columns, walls, floors or foundations.
Creates a new instance of a Structural Connection Handler, which defines the connection between given elements. Elements should be of the following structural categories: framings, columns, walls, floors or foundations.
Overloads (3):
Create(Document,IList[ElementId])
public static StructuralConnectionHandler Create(
Document document,
IList<ElementId> idsToConnect
)
-
documentThe Revit document.
-
idsToConnectThe ElementIdArr containing element id of connected elements.
Return Value
Returns created connection.
Returns created connection.
-
This ElementIdArr is invalid. It should contain ids of the following structural categories: framings, columns, walls, floors or foundations.
-
A non-optional argument was NULL
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements).
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document is being loaded, or is in the midst of another sensitive process.
-
The document has no open transaction.